import request from '@/utils/request'

export function wareOrderTaskDetailList(params) {
  return request({
    url: '/ware/wareordertaskdetail/list',
    method: 'get',
    params
  })
}

export function getWareOrderTaskDetail(id) {
  return request({
    url: `/ware/wareordertaskdetail/info/${id}`,
    method: 'get',
  })
}

export function saveWareOrderTaskDetail(data) {
  return request({
    url: '/ware/wareordertaskdetail/save',
    method: 'post',
    data
  })
}

export function updateWareOrderTaskDetail(data) {
  return request({
    url: '/ware/wareordertaskdetail/info/update',
    method: 'post',
    data
  })
}

export function deleteWareOrderTaskDetail(ids) {
  return request({
    url: '/ware/wareordertaskdetail/delete',
    method: 'post',
    data: ids
  })
}

